#include <myheader_c_plus.h>
#include <iterator>
using std::endl;
using std::cout;
using std::vector;
using std::ostream_iterator;
using std::string;
using std::ofstream;
void test()
{
    string filename = "test.txt";
    ofstream fs(filename);
    vector<int> vec = {1,2,3,5,7};
    ostream_iterator<int> osi(fs, ",");
    copy(vec.begin(), vec.end(), osi);
    fs.close(); 


}
int main(int argc, char *argv[])
{
    test();
    return 0;
}

